rpcd-mod-luci: handle DHCPv6 leases in dnsmasq lease file
authore9hack <[email protected]>
Sun, 3 Nov 2019 08:05:37 +0000 (09:05 +0100)
committerJo-Philipp Wich <[email protected]>
Sun, 3 Nov 2019 16:56:58 +0000 (17:56 +0100)
commitdbafa93e81af0ede914875b2eeeb94179b7eef44
tree09075d87c5b960907979a39100aeac4eb636bf98
parentcfb5af89e108960c33d12cbd6dd76e9aa4e19bee
rpcd-mod-luci: handle DHCPv6 leases in dnsmasq lease file

For DHCPv6, the second entry of a lease is the IAID. The parsing code
expects a MAC instead of a IAID.

Reported-by: Hartmut Birr <[email protected]>
Signed-off-by: Jo-Philipp Wich <[email protected]>
libs/rpcd-mod-luci/src/luci.c